import request from '@/utils/request.js'
const PATH = '/user/hotel'

// 获取酒店区域列表
export const getHotelAreaList = () => request.get(PATH + '/getHotelArea')

// 获取酒店列表
export const getHotelList = (params) => request.get(PATH + '/page', { params })

// 获取酒店规格列表
export const getHotelSpecsList = (params) =>
  request.get(PATH + '/pageQuerySpecs', { params })

// 获取酒店详情
export const getHotelDetail = ({ id }) =>
  request.get(PATH + '/getHotelById', {
    params: { id }
  })
